/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef __LIBLINUX_LINUX_SYSCALLS_H__
#define __LIBLINUX_LINUX_SYSCALLS_H__

#include_next <linux/syscalls.h>

long ksys_open(const char __user *filename, int flags, umode_t mode);
int ksys_fsync(unsigned int fd);
off_t ksys_lseek(unsigned int fd, off_t offset, unsigned int whence);
long ksys_rmdir(const char *pathname);
long ksys_mkdir(const char *pathname, unsigned short mode);
long ksys_access(const char *filename, int mode);
long ksys_rename(const char *oldname, const char *newname);

#endif /* __LIBLINUX_LINUX_SYSCALLS_H__ */
